package com.itheima.area.service.impl;

import com.itheima.area.dao.HistoryDao;
import com.itheima.area.pojo.CustFarmlandHistory;
import com.itheima.area.service.HistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @PackageName com.itheima.area.service.impl
 * @ProjectName Ceres-Work
 * @Created by Chanly on 2020/10/15 19:56
 **/
@Service
public class HistoryServiceImpl implements HistoryService {
    @Autowired
    private HistoryDao historyDao;
    @Override
    public List<CustFarmlandHistory> findAll() {
       return historyDao.findAll();
    }
}
